package com.xbongbong.pro.statistic.pojo.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 部门相关信息
 *
 * @author 徐俊杰
 * @version v1.0
 * @date 2019/4/10 19:03
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class DepIncludeSubDTO implements Serializable {
    private static final long serialVersionUID = -86706732954549643L;
    /**
     * 部门id
     */
    @NotNull(message = "{dto.msg.depIncludeSub.id.NotNull}")
    private Long id;
    /**
     * 部门名称
     */
    @NotNull(message = "{dto.msg.depIncludeSub.name.NotNull}")
    private String name;
    /**
     * 是否包含子部门
     */
    @NotNull(message = "{dto.msg.depIncludeSub.includeSub.NotNull}")
    private Boolean includeSub;
}
